import React from 'react';


const Index = (props) => {
  const { v, onClick } = props
  return (
    <dl onClick={onClick} className='list-item'>
      <dt>
        <img src={v.images[0]} alt="" />
      </dt>
      <dd>
        <h3>{v.title}-{v.type}</h3>
        <p>观众评分: {v.score}</p>
        <p>主演: {v.names.map(v => v.name).join(',')}</p>
        <p>今天{v.cinemaCount}家影院放映了{v.count}场</p>
      </dd>
    </dl>
  )
}


export default Index